import request from "@/utils/request";

export function getCurrentUser() {
    return request({
        url:'/user/getCurrentUser',
        method:'get',
    })
}

export function updatePassword(params) {
    return request({
        url:'/user/updatePassword',
        method:'post',
        params:params
    })
}
